<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<cpm><h1 slot='three'>我们是祖国的花朵</h1></cpm>
		</div>
		<script src="../vue.js"></script>
		<script type="text/javascript">
			Vue.component('cpm', {
				template: `
				  <div>
					  <slot name='one'>
						  <h1>我们是祖国的花朵<h1>
						</slot>
						<slot name='two'>
						  <h3>我们是祖国的花朵<h3>
						</slot>
						<slot name='three'>
						  <h3>我们是祖国的花朵<h3>
						</slot>
					</div>
				`
			})
			var vm = new Vue({
				el: "#app",
				data: {},
				methods: {}
			})
		</script>
	</body>
</html>

